📖 a chapter{{ " · shared" if s.shared }}
{{ c.title }}
{{ s.lo|local('%B %-d, %Y') }} — {{ s.last_day_ts|local('%B %-d, %Y') if not s.open else 'still being written' }} · {{ sm.days }} day{{ 's' if sm.days != 1 }}
{{ c.foreword }}
{% endif %} {% if edit %}✍️ {{ 'edit the foreword' if c.foreword else 'write a foreword — what this chapter was, in your words now' }}
🎯 the goal{% if s.goal.verdict %} · {{ {'met': 'reached', 'missed': 'not reached', 'open': 'still open', 'unmeasured': 'not measured'}[s.goal.verdict] }}{% endif %}
{% if s.goal.text %}{{ s.goal.text }}
{% endif %}{{ s.goal.label }}{% if s.goal.days %} · day {{ s.goal.day }} of {{ s.goal.days }}{% endif %}
{% endif %} {% if edit %}🎯 {{ 'change the goal' if s.goal else 'set a goal — what this chapter is for, and how the log should measure it' }}
A habit goal is held to the habit's own weekly target — change that on Habits, not here. n is the days wanted, or for a habit the weeks on target wanted (0 = every full week). Empty the words and pick “words only” to remove the goal.
🖼 choose the cover photo
🤖 your Handler's telling
{{ t.body }}
Written by your AI Handler — a model on your own computer{% if t.words %}, from this chapter's facts and {{ t.words }} of the pages you wrote in it{% elif t.words == 0 %}, from this chapter's facts only (never your reflections or notes){% endif %} — {{ t.created_at|local('%b %-d, %Y') }}{% if t.updated_at - t.created_at > 60 %} · revised by you {{ t.updated_at|local('%b %-d') }}{% endif %}.
{% if edit %}edit · remove
{% if sm.most_locked %}Most locked: {{ sm.most_locked.day|isodate('%A %b %-d') }} ({{ sm.most_locked.active_seconds|dur }}).{% endif %} {% if sm.best_headspace %}Best headspace: {{ sm.best_headspace.day|isodate('%A %b %-d') }} ({{ '%.1f'|format(sm.best_headspace.value) }}).{% endif %}
{% endif %}· quiet for {{ it.n }} day{{ 's' if it.n != 1 }}{% if it.n > 1 %} — {{ it.first|isodate('%b %-d') }} to {{ it.last|isodate('%b %-d') }}{% endif %} ·
{% else %}Day {{ it.n }} {{ it.day|isodate('%A, %B %-d') }}
{% if it.sentence %}{{ it.sentence }}
{% endif %} {% if it.scores %}{% for k, v in it.scores.items() %}{{ k }} {{ '%.0f'|format(v) if v == v|int else '%.1f'|format(v) }}{% endfor %}
{% endif %} {% if it.moments or it.badges %}-
{% for m in it.moments %}
- {{ m.icon }} {{ m.text }} {{ m.ts|local('%H:%M') }} {% endfor %} {% for b in it.badges %}
- {{ b.icon or '🏅' }} Earned {{ b.title }}{% if b.detail %} — {{ b.detail }}{% endif %} {% endfor %}
{{ {'reflection': '📓 reflection', 'checkin': '🧭 check-in', 'confession': '🙊 confession', 'catchup': '🗒 caught up'}[e.kind] }} · {{ e.ts|local('%H:%M') }} {% if e.prompt_text %}{% endfor %} {% for p in it.posts %}{{ e.prompt_text }}
{% endif %} {% if e.body %}{{ e.body }}
{% endif %}
📣 you posted · {{ p.ts|local('%H:%M') }}{% if p.media %} · {{ p.media }} attached{% endif %} {% if p.cw %}{% endfor %} {% if it.photos %}{{ p.cw }}
{% endif %}{{ p.text }}
✍️ add a note about this day
Nothing happened in this window yet.
{% endfor %}Notes
Written about days this chapter has not reached yet, or that arrived from another box.
{% for n in s.notes_undated %}{{ n.day|isodate('%A, %B %-d') }}
{{ note(n, tok, edit) }}{% endfor %}